Marquee #4

This script shoots a moving missile on request from the user. Shoot any of the following missiles.



Discussion

Unlike the previous scripts, this script is initialized from a button. When the missile has finished its flight path, no further timeouts are registered.
if (str.length < 150) // off the screen
{JSCTimeOutID = window.setTimeout('shootArrow()',100)}
else {str = ""} // just reset the string
Copyright ©2000 by Charles River Media, All Rights Reserved